FROM alpine:3.10

ADD run.sh   /root/run.sh
ADD run.py   /root/run.py
ADD run_1.sh /root/run_1.sh

RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories \
    && apk add --no-cache python3 \
    && pip3 install requests \
    && rm -rf /var/cache/apk/* && rm -rf /tmp/*

CMD ["/bin/sh", "-c", "/root/run.sh"]
